/**
 * @date 4:19:26 PM
 * EducationStudentResponse.java
 * Administrator
 * TODO
 */
package com.qs.education.bean.beans;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.qs.education.bean.api.ResponseBean;
import com.qs.education.bean.entity.EducationClass;
import com.qs.education.bean.entity.EducationGrade;
import com.qs.education.bean.entity.EducationGroup;
import com.qs.education.bean.entity.EducationSchool;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @class EducationStudentResponse	
 * @author Warren
 * @description
 * @date Oct 31, 2018 
 */
@Data
@EqualsAndHashCode(callSuper=true)
public class EducationStudentResponse extends ResponseBean{
	private Long id;
	private String name;
	private String password;
	private Integer age;
	private String mobile;
	private String headImage;
	private Integer sex;
	private String createTime;
	private Date createDate;
	private String stuToken;
	
	@JsonIgnoreProperties(value = { "students" , "teachers" })
	private EducationSchool school;
	
	@JsonIgnoreProperties(value = { "teachers" , "students" , "teacher","grade","clazz","homeWorkList" })
	private List<EducationGroup> groups = new ArrayList<EducationGroup>();
	
	private EducationGrade grade;
	
	private EducationClass clazz;
}
